package com.example.qgtradeprovider.service.impl;

import com.example.qgtradeprovider.mapper.TradeMapper;
import com.example.qgtradeprovider.service.TradeService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.Map;

@Service
@Transactional
public class TradeServiceImpl implements TradeService {

    @Resource
    private TradeMapper mapper;

    @Override
    public int addTrade(Map map) {
        return mapper.addTrade( map );
    }


}
